package com.cmpe451.nutty.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "COMMENT")
public class Comment extends BaseModel {
	private static final long serialVersionUID = 1L;

	@Column(name = "COMMENT")
	private String comment;
	
	@Column(name = "USER")
	private String user;
	
	@Column(name = "RECIPE_ID")
	private Long recipe_id;
	
	@Column(name = "LIKES")
	private Long likes;
	
	@Column(name = "userid")
	private Long userid;
	
	@Column(name = "DISLIKES")
	private Long dislikes;
	

	public Long getLikes() {
		return likes;
	}

	public void setLikes(Long likes) {
		this.likes = likes;
	}
	
	public Long getDislikes() {
		return dislikes;
	}

	public void setDislikes(Long dislikes) {
		this.dislikes = dislikes;
	}
	
	

	@Column(name = "USER_LIKE")
	private String user_like;
	
	public String getComment() {
		return comment;
	}
	
	public void setComment(String comment) {
		this.comment = comment;
	}
	
	public String getUser() {
		return user;
	}
	
	public void setUser(String user) {
		this.user = user;
	}
	
	public String getRecipe_id() {
		return user;
	}
	
	public void setRecipe_id(Long recipe_id) {
		this.recipe_id = recipe_id;
	}

	public String getUser_like() {
		return user_like;
	}

	public void setUser_like(String user_like) {
		this.user_like = user_like;
	}

	public Long getUserid() {
		return userid;
	}

	public void setUserid(Long userid) {
		this.userid = userid;
	}

	
	
	
	
}
